<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>AFS Java: afsjava.Machine Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">AFS Java
   &#160;<span id="projectnumber">3.0</span>
   </div>
   <div id="projectbrief">Algorithms for Scheduling</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceafsjava.html">afsjava</a></li><li class="navelem"><a class="el" href="classafsjava_1_1_machine.html">Machine</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">afsjava.Machine Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="classafsjava_1_1_machine-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aae4f64b4ecf8226d256980f414e60dcf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#aae4f64b4ecf8226d256980f414e60dcf">setMachineID</a> (String id)</td></tr>
<tr class="memitem:ade25044975ac8cc2318d62faba6f8025"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#ade25044975ac8cc2318d62faba6f8025">setAvailableDate</a> (int release)</td></tr>
<tr class="memitem:a212514abef895464c5307463de501e34"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#a212514abef895464c5307463de501e34">setStatus</a> (char status)</td></tr>
<tr class="memitem:af474a821d3e2923cdcd53f0cfe32069f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#af474a821d3e2923cdcd53f0cfe32069f">setMachineNumber</a> (int mchNumber)</td></tr>
<tr class="memitem:abfe713377652095ce7249d43a20250ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#abfe713377652095ce7249d43a20250ac">setWorkcenterNumber</a> (int wkcNumber)</td></tr>
<tr class="memitem:a4cd765adac31cede94e2a67ba717d70f"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#a4cd765adac31cede94e2a67ba717d70f">getMachineID</a> ()</td></tr>
<tr class="memitem:a8c565fcfba2115d405e049675d4f391a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#a8c565fcfba2115d405e049675d4f391a">getAvailableDate</a> ()</td></tr>
<tr class="memitem:a8aa04570093096a2a2a85827a2d53936"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#a8aa04570093096a2a2a85827a2d53936">getStatus</a> ()</td></tr>
<tr class="memitem:af8c4eb3d756d898486262362bd291474"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#af8c4eb3d756d898486262362bd291474">getMachineNumber</a> ()</td></tr>
<tr class="memitem:abc2fda44e39b0a0f35be6633a9927fdc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#abc2fda44e39b0a0f35be6633a9927fdc">Machine</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a46eecc4e5adb8655c8005eeba9585df9"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#a46eecc4e5adb8655c8005eeba9585df9">getTotalNumberOfMachines</a> ()</td></tr>
<tr class="memitem:a0d49e045ca22451743dc849d21728923"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_machine.html#a0d49e045ca22451743dc849d21728923">getMAXMACHINES</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Title: Class <a class="el" href="classafsjava_1_1_machine.html">Machine</a></p>
<p>Description: <a class="el" href="classafsjava_1_1_machine.html">Machine</a> defines the methods and atributes of a machine.<br/>
 The class atributes are:<br/>
 String machineId: <a class="el" href="classafsjava_1_1_machine.html">Machine</a> identifier <br/>
 int availableDate: availability date of the machine.<br/>
 char machineStatus: machine initial status.<br/>
 int machineNumber: machine number nested in a workcenter.<br/>
 int workcenterNumber: workcenter number in which the machine is nested. <br/>
 The static atribute is: numberOfMachines. </p>
<p>Copyright: Copyright (c) 2005</p>
<p>Company: Pylo.Uniandes.edu.co</p>
<dl class="section author"><dt>Author:</dt><dd>Gonzalo Mejia </dd></dl>
<dl class="section version"><dt>Version:</dt><dd>2.0 </dd></dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00037">37</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abc2fda44e39b0a0f35be6633a9927fdc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">afsjava.Machine.Machine </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="classafsjava_1_1_machine.html">Machine</a> default constructor </p>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00183">183</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8c565fcfba2115d405e049675d4f391a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Machine.getAvailableDate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getAvailableDate returns the availability date</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00149">149</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<a class="anchor" id="a4cd765adac31cede94e2a67ba717d70f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String afsjava.Machine.getMachineID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getMachineId returns the machine identifier</p>
<dl class="section return"><dt>Returns:</dt><dd>String </dd></dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00140">140</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<a class="anchor" id="af8c4eb3d756d898486262362bd291474"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Machine.getMachineNumber </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getMachineNumber returns the machine number relative to a workcenter</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00167">167</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<a class="anchor" id="a0d49e045ca22451743dc849d21728923"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int afsjava.Machine.getMAXMACHINES </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>getMAXMACHINES returns the maximum allowable number of machines</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00176">176</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<a class="anchor" id="a8aa04570093096a2a2a85827a2d53936"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char afsjava.Machine.getStatus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>getStatus returns the initial status of the machine A to Z</p>
<dl class="section return"><dt>Returns:</dt><dd>char </dd></dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00158">158</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<a class="anchor" id="a46eecc4e5adb8655c8005eeba9585df9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int afsjava.Machine.getTotalNumberOfMachines </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>getNumberOfMachines returns the total number of machines in the system</p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00130">130</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<a class="anchor" id="ade25044975ac8cc2318d62faba6f8025"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Machine.setAvailableDate </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>release</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setAvailableDate sets the availability date of the machine</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">release</td><td>int </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00092">92</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<a class="anchor" id="aae4f64b4ecf8226d256980f414e60dcf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Machine.setMachineID </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setMachineId sets the Identifier of the machine</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>String </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00083">83</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<a class="anchor" id="af474a821d3e2923cdcd53f0cfe32069f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Machine.setMachineNumber </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>mchNumber</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setMachineNumber sets the number of a machine</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">mchNumber</td><td>must be a valid integer </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00110">110</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<a class="anchor" id="a212514abef895464c5307463de501e34"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Machine.setStatus </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setStatus sets initial status (type) of the machine</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>char must be a character A to Z </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00101">101</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<a class="anchor" id="abfe713377652095ce7249d43a20250ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Machine.setWorkcenterNumber </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>wkcNumber</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>setWorkcenterNumber sets the number of a workcenter</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">wkcNumber</td><td>must be a valid integer </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_machine_8java_source.html#l00119">119</a> of file <a class="el" href="_machine_8java_source.html">Machine.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/afsjava/<a class="el" href="_machine_8java_source.html">Machine.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jun 2 2012 08:28:19 for AFS Java by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1
</small></address>
</body>
</html>
